package cn.baage.campus.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;


/**
 * @Description: 贴子新增VO
 * @Author: 八阿哥
 * @url: baage.cn
 * @Version: 1.0
 **/
@Data
@ApiModel(value = "评论新增VO")
public class CommentAddReqVO {

    @ApiModelProperty(value = "帖子ID")
    @NotBlank(message = "回复帖子不能为空")
    private String postingId;

    @ApiModelProperty(value = "评论内容")
    @NotBlank(message = "回复内容不能为空")
    private String content;

    @ApiModelProperty(value = "评论图片")
    private List<String> imgList;

    @ApiModelProperty(value = "父评论ID（无父评论则为 0）")
    private String parentId;

    @ApiModelProperty(value = "回复评论ID（无指定回复则为 0）")
    private String replyId;


}
